package com.eternallove.biz.system.dto;

import com.eternallove.core.annotation.excel.ExcelImportColumn;
import com.eternallove.core.annotation.excel.converter.IntegerToStringConverter;
import lombok.Data;

import java.util.Date;

/**
 * 导入部门请求参数
 * @author Eva.Caesar Liu
 * @since 2022/11/30 15:45
 */
@Data
public class DepartmentImportDTO {

    @ExcelImportColumn
    private String name;

    @ExcelImportColumn
    private String code;

    @ExcelImportColumn
    private String parentCode;

    @ExcelImportColumn(converter = IntegerToStringConverter.class)
    private String phone;

    @ExcelImportColumn
    private String email;

    @ExcelImportColumn
    private Date createTime;
}
